import React from 'react';
import {TouchableOpacity, TouchableOpacityProps} from 'react-native';

// 优化：React.memo，如果相同不执行render
const Touchable: React.FC<TouchableOpacityProps> = React.memo(props => (
  <TouchableOpacity activeOpacity={0.8} {...props} />
));

export default Touchable;
